Command line repository tool

Using Newlook's command line repository tool

Newlook includes a handy command-line tool, SID.exe, that enables users to perform various repository-related tasks.

To run SID.EXE you will first need to open a command line and navigate to C:\Program Files (x86)\Newlook 11.1.

Exporting the contents of a repository

Export the contents of a Newlook repository file to a specified folder using the following syntax:

SID EXPORT <repository> <export-path> /clear

where repository is the .SID file (including the full path) that you are exporting, export-path is the location that you wish to export to, and /clear is an optional (recommended) parameter which clears the contents of the source folder prior to the export process beginning (this ensures that anything you have deleted in Newlook Developer after the last export, will also be removed from your export folder). If either your export-path or repository contains spaces, you will need to enclose it in quotation marks.

The following example will export the contents of ACMI.sid to the nominated source folder:

SID EXPORT "C:\ProgramData\Newlook 11.1\@ACMI\ACMI.sid" "C:\Source" /clear

Because the output of the export process is in XML format, this command can be used as part of an automated build process and/or with external source version control systems.

Importing the contents of a repository

Import the contents of a folder into the specified repository file using the following syntax:

SID IMPORT <import-path> <repository>

where import-path is the folder containing the content you wish to import, and repository is the .SID file you wish to import that content into. If either your import-path or repository contains spaces, you will need to enclose it in quotation marks.

The following example will import the contents of the nominated source folder into the ACMI.sid repository:

SID IMPORT "C:\Source" "C:\ProgramData\Newlook 11.1\@ACMI\ACMI.sid"

See Also

Solutions | Export | Import | Merge


© 2004-2021 looksoftware. All rights reserved.